package com.management.demo.vo.mall;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
@Schema(description = "属性查询结果")
public class PmsAttrVO {

    @Schema(description = "属性id")
    private Long id;

    @Schema(description = "属性名")
    private String name;

    @Schema(description = "是否需要检索 0-不需要 1-需要")
    private Integer searchType;

    @Schema(description = "值类型 0-为单个值 1-可以选择多个值")
    private Integer valueType;

    @Schema(description = "可选值列表")
    private List<String> valueSelect;

    @Schema(description = "属性类型 0-销售属性 1-基本属性")
    private Integer attrType;

    @Schema(description = "属性图标")
    private String icon;

    @Schema(description = "启用状态 0-禁用 1-启用")
    private Long enable;

    @Schema(description = "所属分类id")
    private Long categoryId;

    @Schema(description = "所属分类名称")
    private String categoryName;

    @Schema(description = "级联属性分组回显")
    private List<Long> categoryArray;

    @Schema(description = "所属分组id")
    private Long groupId;

    @Schema(description = "所属分组名称")
    private String groupName;

    @Schema(description = "快速展示【是否展示在介绍上；0-否 1-是】，在sku中仍然可以调整")
    private Integer showDesc;
}
